package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("推广渠道配置表")
@TableName(value = "tg_channle")
public class TgChannle extends BasePojo<TgChannle> {
    @ApiModelProperty("渠道标签")
    private String  channle ;
    @ApiModelProperty("渠道名字")
    private String  name ;
    @ApiModelProperty("考核类型  0 付费  1 广告ecpm()")
    private Integer  examineType ;
    @ApiModelProperty("默认扣量比列")
    private Integer proportion ;
    @ApiModelProperty("默认考核价格")
    private Long  examinePrice ;
    @ApiModelProperty("考核ecmp")
    private BigDecimal ecmp;
    @ApiModelProperty("考核展示次数 imp_cnt")
    private Integer impCnt;
    @ApiModelProperty("回传配置ID")
    private Integer callBackConfId ;
    @TableField(exist = false)
    private TgCallBackConf tgCallBackConf ;
}
